package com.zyg.service;

import com.zyg.model.Result;
import com.zyg.model.query.SysRoleQueryParam;
import org.springframework.stereotype.Service;

@Service
public interface SysRoleService{

    /**
     * 分页获取数据
     * @param sysRoleQueryParam
     * @return
     */
    public Result getAllRolePageList(SysRoleQueryParam sysRoleQueryParam);

    /**
     * 获取角色树形结构
     * @return
     */
    public Result getAllRoleTreeList();

}
